package h_eekwan.basic;

public class J01_Subject {

	public static void main(String[] args) {
		// 1. 변수 선언 및 초기화
		
		String Subjnum;
		String Subjname;
		String Subjout;
		String Subjpro;
		
		String Subjnum1;
		String Subjname1;
		String Subjout1;
		String Subjpro1;
		
		String Subjnum2;
		String Subjname2;
		String Subjout2;
		String Subjpro2;
		
		String Subjnum3;
		String Subjname3;
		String Subjout3;
		String Subjpro3;
		
		Subjnum = "0205";
		Subjname = "프로그래밍";
		Subjout = "자바 프로그래밍";
		Subjpro = "301";
		
		Subjnum1 = "0211";
		Subjname1 = "드레스 코드";
		Subjout1 = "옷 입기의 기초";
		Subjpro1 = "445";
		
		Subjnum2 = "5029";
		Subjname2 = "생활의 참견";
		Subjout2 = "음식의 영양";
		Subjpro2 = "556";
		
		Subjnum3 = "4111";
		Subjname3 = "악마의 사도";
		Subjout3 = "종교와 철학, 과학의 얽힘";
		Subjpro3 = "504";
		
		// 2. 처리
		// 3. 결과 출력
		System.out.println("과목번호\t과목명\t  과목개요\t\t담당교수");
		System.out.println("---------------------------------------");
		System.out.print(Subjnum);
		System.out.print("\t" + Subjname);
		System.out.print("  " + Subjout);
		System.out.println("\t   " + Subjpro);
		
		System.out.print(Subjnum1);
		System.out.print("\t" + Subjname1);
		System.out.print("  " + Subjout1);
		System.out.println("\t   " + Subjpro1);
		
		System.out.print(Subjnum2);
		System.out.print("\t" + Subjname2);
		System.out.print("  " + Subjout2);
		System.out.println("\t   " + Subjpro2);
		
		System.out.print(Subjnum3);
		System.out.print("\t" + Subjname3);
		System.out.print("  " + Subjout3);
		System.out.println(" " + Subjpro3);

	}

}
